﻿using MengCC.Plugin.SDK;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;

namespace MengCC.Plugin.Demo
{
    public class PluginDemo 
    {
        public bool Run(PluginContext pluginContext)
        {
            //throw new NotImplementedException();
            var content =JsonConvert.SerializeObject(new { test = "demo" });
            pluginContext.Write(content);
            pluginContext.Write($"config:{pluginContext.GetOptions()}");
            return true;
        }
    }
}
